-- DATABASE
--===========================================================================================================
--CREATE DATABASE nstat
--  WITH OWNER = postgres
--       ENCODING = 'UTF8'
--       LC_COLLATE = 'ru_RU.UTF-8'
--       LC_CTYPE = 'ru_RU.UTF-8'
--       CONNECTION LIMIT = -1;

DROP LANGUAGE if exists 'plpgsql' cascade;
CREATE LANGUAGE 'plpgsql';

CREATE SCHEMA mcr
  AUTHORIZATION mcs;

CREATE SEQUENCE mcs_seq start with 1000000;

CREATE SCHEMA acc
  AUTHORIZATION mcs;
